@import './reset.less';

.flex-box{
  display: flex;
}
.f-row{
  flex-direction: row
}
.f-column{
  flex-direction: column
}
body{
  position: absolute;
  width: 100%;
  height: 100%;
}
#app{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.el-main{
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
.main-container{
  display: flex;
  flex: 1;
  width: 100%;
  height: 100%;
  flex-direction: column;
  .main-header{
    flex-grow: 0;
    background: #fff;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #e9e9e9;
  }
  .wrap{
    display: flex;
    flex: 1;
    padding: 20px;
    background: #f1f2f6;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    flex-direction: column;
    .content{
      background: #fff;
      flex: 1;
      padding: 20px;
      width: 100%;
      height: 100%;
      overflow-y: auto;
      box-sizing: border-box;
    }
  }
}
.el-input-number{
  width: 100%;
  .el-input__inner{
    text-align:left;
  }
}
.el-form.search-form{
  .el-form-item{
    margin-bottom: 10px;
    // width: 280px;
    input{
      width: 180px
    }
  }
}
.el-button--dangertext{
  border-color: transparent;
  color: #F56C6C;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}
.el-button--dangertext:hover{
  color: #F56C6C;
  opacity: .9;
  border-color: transparent;
}
.el-date-editor.el-input, .el-date-editor.el-input__inner{
  width: auto
}
.detail-form{
  .el-form-item{
    margin-bottom: 10px
  }
}

.avatar-uploader .el-upload {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-uploader .el-upload:hover {
  border-color: #409EFF;
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 178px;
  height: 178px;
  line-height: 178px!important;
  text-align: center;
}
.avatar {
  width: 178px;
  height: 178px;
  display: block;
}
.el-table thead{
  color: #000 !important;
  font-weight: bold !important;
}
.help-tip{
  position: absolute;
  left: -118px;
  top: 0px;
  z-index: 10;
  &:hover{
    .help-tip-content{
      display: block;        
    }
  }
}
.help-tip-content{
  display: none;
  line-height: 24px;
  font-size: 14px;
  color: #606266;
  background: #ccc;
  padding: 5px 10px;
}
// 详情页两列展示
.fl-l{
  height: 52px;  
  .el-form-item{
    width: 45%;
    float: left;
  }
}
.h-200{
  height: 200px;
}
